﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SimpleMath.MySimpleMath
{
    class Geometry
    {
        public Geometry() { }
        public static double GetDistanceBetweenTwoPoint(PointD p1, PointD p2)
        {
            double dx = p1.x - p2.x;
            double dy = p1.y - p2.y;
            return Math.Sqrt(dx * dx + dy * dy);
        }
    }
}
